            
            <div class="content-box"><!-- Start Content Box -->
                
                <div class="content-box-header">
                    
                    <h3>{{l}}Global Configuration{{/l}}</h3>
                    
                    <ul class="content-box-tabs">
                        <li><a href="#tab1" class="default-tab">{{l}}Site{{/l}}</a></li>
                        <li><a href="#tab2">{{l}}Server{{/l}}</a></li>
                    </ul>
                    
                    <div class="clear"></div>
                    
                </div> <!-- End .content-box-header -->
                
                <div class="content-box-content">
                
                    <form action="" method="post">
                    
                    <div class="tab-content" id="tab1">
                    
                        <!-- ERROR -->
                        {{if $settingMessage|@count > 0 && $settingMessage.success == true}}
                        <div class="notification success png_bg">
                            <a href="#" class="close"><img src="{{$LAYOUT_HELPER_URL}}admin/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
                            <div>
                                {{$settingMessage.message}}
                            </div>
                        </div>
                        {{/if}}
                        
                        {{if $settingMessage|@count > 0 && $settingMessage.success == false}}
                        <div class="notification error png_bg">
                            <a href="#" class="close"><img src="{{$LAYOUT_HELPER_URL}}admin/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
                            <div>
                                {{$settingMessage.message}}
                            </div>
                        </div>
                        {{/if}}
                        
                            <fieldset style="border: 1px solid #CCCCCC;border-radius: 4px 4px 4px 4px;padding: 5px 20px 5px 20px;"> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
                                <legend style="font-size: 14px; color: #57A000;">{{l}}Site Settings{{/l}}</legend>
                                
                               	<p>
                                    <label>{{l}}Site Offline{{/l}}</label>
                                    <input type="radio" name="data[offline]" value="1" {{if $data.offline != '0'}}checked="checked"{{/if}}/> {{l}}Yes{{/l}} &nbsp;&nbsp;&nbsp;&nbsp;
                                    <input type="radio" name="data[offline]" value="0" {{if $data.offline == '0'}}checked="checked"{{/if}}/> {{l}}No{{/l}}
                                </p>
                                
                                <p>
                                    <label>{{l}}Offline Message{{/l}}</label>
                                    <textarea class="text-input textarea" id="textarea" name="data[offline_message]" cols="79" rows="5">{{$data.offline_message}}</textarea>
                                </p>
                                
                                <p>
                                    <label>{{l}}Site Name{{/l}}<span class="red">*</span></label>
                                        <input class="text-input small-input" type="text"  name="data[site_name]"  value="{{$data.site_name}}" />{{if $errors.site_name}}<span class="input-notification error png_bg">{{$errors.site_name}}</span>{{/if}}
                                </p>
                                <p>
                                    <label>{{l}}Site URL{{/l}}<span class="red">*</span></label>
                                        <input class="text-input small-input" type="text"  name="data[live_site]"  value="{{$data.live_site}}" />{{if $errors.live_site}}<span class="input-notification error png_bg">{{$errors.live_site}}</span>{{/if}}
                                </p>
                                
                            </fieldset>
                            
                             <fieldset style="border: 1px solid #CCCCCC;border-radius: 4px 4px 4px 4px;padding: 5px 20px 5px 20px;"> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
                                <legend style="font-size: 14px; color: #57A000;">{{l}}Metadata Settings{{/l}}</legend>
                                
                                <p>
                                    <label>{{l}}Global Site Meta Description{{/l}}</label>
                                    <textarea class="text-input textarea" id="textarea" name="data[meta_description]" cols="79" rows="5">{{$data.meta_description}}</textarea>
                                </p>
                                
                                <p>
                                    <label>{{l}}Global Site Meta Keywords{{/l}}</label>
                                    <textarea class="text-input textarea" id="textarea" name="data[meta_keywords]" cols="79" rows="5">{{$data.meta_keywords}}</textarea>
                                </p>
                                
                                <p>
                                <br/>
                                    <input class="button" type="submit" value="{{l}}Save{{/l}}" />
                                </p>
                                
                            </fieldset>
                            
                            <div class="clear"></div><!-- End .clear -->
                            
                    </div>  <!-- End #tab1 --> 
                    
                    <div class="tab-content hidden" id="tab2">
                    
                           <fieldset style="border: 1px solid #CCCCCC;border-radius: 4px 4px 4px 4px;padding: 5px 20px 5px 20px;"> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
                                <legend style="font-size: 14px; color: #57A000;">{{l}}Database Settings{{/l}}</legend>
                                
                                <p>
                                    <label>{{l}}Host Name{{/l}}<span class="red">*</span></label>
                                        <input class="text-input small-input" type="text"  name="data[host]"  value="{{$data.host}}" />{{if $errors.host}}<span class="input-notification error png_bg">{{$errors.host}}</span>{{/if}}
                                </p>
                                <p>
                                    <label>{{l}}Username{{/l}}<span class="red">*</span></label>
                                        <input class="text-input small-input" type="text"  name="data[username]"  value="{{$data.username}}" />{{if $errors.username}}<span class="input-notification error png_bg">{{$errors.username}}</span>{{/if}}
                                </p>
                                <p>
                                    <label>{{l}}Password{{/l}}<span class="red">*</span></label>
                                        <input class="text-input small-input" type="text"  name="data[password]"  value="{{$data.password}}" />{{if $errors.password}}<span class="input-notification error png_bg">{{$errors.password}}</span>{{/if}}
                                </p>
                                 <p>
                                    <label>{{l}}Database Name{{/l}}<span class="red">*</span></label>
                                        <input class="text-input small-input" type="text"  name="data[dbname]"  value="{{$data.dbname}}" />{{if $errors.dbname}}<span class="input-notification error png_bg">{{$errors.dbname}}</span>{{/if}}
                                </p>
                                  <p>
                                    <label>{{l}}Database Prefix{{/l}}<span class="red">*</span></label>
                                        <input class="text-input small-input" type="text"  name="data[prefix]"  value="{{$data.prefix}}" />{{if $errors.prefix}}<span class="input-notification error png_bg">{{$errors.prefix}}</span>{{/if}}
                                </p>
                                
                                <p>
                                <br/>
                                    <input class="button" type="submit" value="{{l}}Save{{/l}}" />
                                </p>
                            </fieldset>
                            
                            <div class="clear"></div><!-- End .clear -->
                            
                    </div>
                    
                  </form>
                </div> <!-- End .content-box-content -->
                
            </div> <!-- End .content-box -->
            
            
            <div class="clear"></div>
